package com.fwj.authorization.staff.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fwj.authorization.staff.entity.SysDict;
import org.apache.ibatis.annotations.Param;

/**
 * SysDictMapper
 *
 * @author 樊温军
 * @date 2025/3/22 上午11:29
 */
public interface SysDictMapper extends BaseMapper<SysDict> {

    /**
     * 数据字典—分页查询
     *
     * @param page    分页对象
     * @param sysDict 查询条件
     * @return IPage < SysDict>
     */
    IPage<SysDict> getPage(Page<SysDict> page, @Param("map") SysDict sysDict);
}
